package com.hst.capacity.domain.model.entity.order.pool;


import com.hst.capacity.domain.model.entity.order.base.BaseOrderEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

@Data
@EqualsAndHashCode(callSuper=false)
@Entity
@Table(name = "om_order_pool")//专车订单池
public class OrderPoolEntity extends BaseOrderEntity {

  @Id
  private String idOrder;
  private String regionCode;//运营区域code值,数据来自行政区域信息表
//  private String idMember;
//  private String idCorporate;
//  private String idDriver;
//  private String idFranchisee;
//  private String idServicePriceType;
//  private Integer idServiceType;
//  private Integer idVehicleType;
//  private String idLine;
//  private String idTask;
//  private String regionCode;
//  private Integer orderType;
//  private Integer carpoolType;
//  private String userName;
//  private String userMobile;
//  private String passengerName;
//  private String passengerMobile;
//  private Integer passengerNumber;
//  private String corporateName;
//  private String fullName;
//  private String plateNumber;
//  private String vehicleInfo;
//  private LocalDateTime appointmentTime;
//  private LocalDateTime assignTime;
//  private String driverLongitude;
//  private String driverLatitude;
//  private LocalDateTime deptime;
//  private String startAddress;
//  private String startAddressLongitude;
//  private String startAddressLatitude;
//  private String endAddress;
//  private String endAddressLongitude;
//  private String endAddressLatitude;
//  private LocalDateTime desttime;
//  private String dropOffArea;
//  private String dropOffAreaLongitude;
//  private String dropOffAreaLatitude;
//  private String idAirport;
//  private String flightNo;
//  private String idStation;
//  private String railNo;
//  private LocalDateTime startServiceTime;
//  private LocalDateTime endServiceTime;
//  private Float referenceDistance;
//  private String model;
//  private Integer estimatedTime;
//  private Float estimatedMoney;
//  private Float additionalMoney;
//  private Float payMoney;
//  private String couponCode;
//  private Float couponDiscount;
//  private String orderMemo;
//  private String passengerMemo;
//  private String driverMemo;
//  private Integer status;
//  private Integer orderSource;
//  private String idRelationshipOrder;
//  private Integer tranFlag;
//  private Integer paymentType;
//  private Integer paymentStatus;
//  private Integer passengerConfirmArrival;
//  private String gpsPn;
//  private Integer checkStatus;
//  private String checkStatusMemo;
//  private Float driverSubsidy;
//  private Float driverNoLoadSubsidy;
//  private Integer divideAccountsStatus;
//  private Float orderDistance;
//  private Integer orderTime;
//  private Float orderMoney;

  //订单优先级
  private Integer orderPriority;

  private String checkStatusMemo;//审核备注
  private Integer checkStatus = 0;//审核状态（0:未审核 1:已审核 2:审核未通过）

}
